package com.samebuilding.dao;

import java.util.List;

import com.samebuilding.domain.PrivateReceivedMessage;
import com.samebuilding.domain.User;

public interface PrivateRecMesDAO {
	public void save(PrivateReceivedMessage prm);
	public void remove(PrivateReceivedMessage prm);
	public List findAllRec(User user,final int from,final int size);
	public void ReadMessage(User u);
	public long findRecSize(User user);
	public PrivateReceivedMessage findById(String id);
	public long findnotReadSize(User u);
	
	
	public void removePrivateMesById(int id);
	public List<PrivateReceivedMessage> findAllRec(int userNo, int start, int limit);
	public int findRecSize(int userNo);
	public int findNotReadSize(int userNo);
	public void readMessage(int userNo);
}
